﻿using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppEnvi
{
    class RoleEnvi : Role
    {
        public const string RoleName = "envi";
        public const string OpGetName = "get";

        public RoleEnvi()
            : base(RoleName)
        {
            {
                // Change getReturnVals
                List<View.VParamType> getReturnVals = new List<View.VParamType>();
                getReturnVals.Add(new ParamType(ParamType.SimpleType.integer, "8", null, "value"));
                AddOperation(new Operation(OpGetName, null, getReturnVals, true));
            }
        }
    }
}
